/*
 * @Author: zhangwenqiang
 * @Date: 2021-07-25 13:53:26
 * @LastEditors: OBKoro1
 * @LastEditTime: 2021-07-27 09:50:03
 * @FilePath: /operate/src/router/modules/mainPage.js
 */
const router = {
  path: '/mainPage',
  name: 'MainPage',
  component: ()=>import('@/view/mainPage/index.vue'), // 公共的页面模板  解析引入页面时候特殊判断
  children: [
    {
      path:'/phyComManagement',
      name: 'phyComManagement',
      component:()=>import('@/view/phyComManagement/index.vue')
    },
    {
      path:'/sellGoodsManagement',
      name: 'sellGoodsManagement',
      component:()=>import('@/view/sellGoodsManagement/index.vue')
    },
    {
      path:'/overseasGoods',
      name: 'overseasGoods',
      component:()=>import('@/view/overseasGoods/index.vue')
    },
    {
      path:'*',
      redirect: '/phyComManagement',
    }
  ]
}

export default router